# Recurse into subprojects

SET(SRCS
  src/muParser.cpp
  src/muParserBase.cpp
  src/muParserBytecode.cpp
  src/muParserCallback.cpp
#  src/muParserComplex.cpp
src/muParser.cpp
src/muParserTest.cpp
  src/muParserError.cpp
  src/muParserInt.cpp
  src/muParserTokenReader.cpp
  )

add_library(mu_parser ${SRCS})
include_directories(include)

#INCLUDE_DIRECTORIES ( 
#  ${COMPUCELL3D_SOURCE_DIR}/core/muParser
#  )

# if(${CMAKE_SYSTEM_NAME} STREQUAL Windows)
#   ADD_STATIC_LIBRARY(muParser ${SRCS}  )
 
# else(${CMAKE_SYSTEM_NAME} STREQUAL Windows)

#     ADD_SHARED_LIBRARY(muParser ${SRCS}  )
    
# endif(${CMAKE_SYSTEM_NAME} STREQUAL Windows)

# INSTALL_FILES(/include/muParser .h
# muParser
# muParserBase
# muParserBytecode
# muParserCallback
# muParserComplex
# muParserDef
# muParserDLL
# muParserError
# muParserFixes
# muParserInt
# muParserStack
# muParserTest
# muParserToken
# muParserTokenReader
#   ) 
